﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Umbrella.Whs.SharePoint;

namespace Umbrella.Whs.WhsAddin.Wizards.SharePointInstallation
{
    internal class InstallStepCreateServiceAccount : IInstallStep
    {
        public string Title
        {
            get { return Resources.txtCreatingServiceAccount; }
        }

        public int Weight
        {
            get { return 5; }
        }

        public void PerformInstall()
        {
            if (!SharePointServiceAccount.Exists())
                SharePointServiceAccount.Create();
        }
    }
}
